package com.markchu.modules.system.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.markchu.common.enums.StatusEnum;
import com.markchu.modules.system.domain.User;
import lombok.Data;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class SaysayVo implements Serializable {
    // 主键ID
    private Long id;
    // 标题
    private String title;
    // 备注
    private String contents;

    private String fileIds;

    private String cookieId;

    private Integer starFill;

    private List<String> sayType;

    // 创建时间
    private Date createDate;
    // 更新时间
    private Date updateDate;
    // 创建者
    private User createBy;

    private User updateBy;


    // 数据状态
    private Byte status = StatusEnum.OK.getCode();
}
